<?php
namespace App\Http\Controllers;

use App\Services\ApitestServices as Apitest;

class ApitestController extends Controller{
    // Laravel 接口测试
    public function index(){
        $file = '/Api.json';
        $TpApi = new Apitest();
        $data = $TpApi->GetData($file);

        return view('apitest.index')->with('data',$data);
    }
}
